﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using DevExpress.Web.ASPxGridView;
using System.Data.SqlClient;
using System.Configuration;

public partial class Teacher_ReportCompetitionDetails : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

        if (Session["Manager"] == null || Session["manager"] == null)
        {
            Response.Redirect("~/Default.aspx");
        }
    }
    protected void btnExExcel_Click(object sender, EventArgs e)
    {
        export.WriteXlsToResponse();
    }
    protected void btnExPDF_Click(object sender, EventArgs e)
    {
        export.WritePdfToResponse();
    }
}